#define ENABLE_SOUND 1  //SET TO 1 TO ENABLE SOUND OUTPUT

#define SPKR 		 RA2  //bit 2 of PORTA
#define GAME_DUR_MINS		10
#define MAXCNTDWNSECS       GAME_DUR_MINS * 60 + 300 //used for timer counting

volatile near unsigned char newSecond;
volatile near unsigned int newmillisecond;
volatile near unsigned int goalmillisec;
volatile near unsigned char gameplaying = 0;
volatile near signed int game_time_in_secs;
volatile near unsigned long countdownseconds = MAXCNTDWNSECS; 

void delayMs(unsigned int);

void delaySec(unsigned char);

void genFreqSecs(unsigned int, unsigned int);

static void interrupt isr(void); 

void init_interrupts(void);
